package com.zoo.diannaopeijian.service;

import com.zoo.diannaopeijian.domain.Warehouse;

import java.util.List;

/**
 * Created by zx583 on 2018-01-08.
 */
public interface WarehouseService {
    List<Warehouse> getWarehouse(Warehouse warehouse);

    List<Warehouse> getWarehouseWithPage(Integer page, Integer rows, Warehouse warehouse);

    List<Warehouse> getFuzzyWarehouse(Warehouse warehouse);

    List<Warehouse> getFuzzyWarehouseWithPage(Integer page, Integer rows, Warehouse warehouse);

    boolean addWarehouse(Warehouse warehouse);

    boolean deleteWarehouse(Integer warehouseid);

    boolean updateWarehouse(Warehouse warehouse);
}
